/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 62536
 * Date: 2024-02-27
 * Time: 19:23
 */
public class Test {
    public static void main(String[] args) {
        int[] array = {12,58,45,56,78,36,9,25,31,7};
        PriorityQueue priorityQueue = new PriorityQueue(array);

        priorityQueue.createBigHeap();

        System.out.println(priorityQueue.poll());


    }
}
